<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>fun shape rotation</title>
  <link rel="stylesheet" href="./style.css" type="text/css" />
  <body>
    <div id="container" class="container" style="--progress: 33.33">
      <div class="inner position-center">
        <div class="circle circle-bottom position-center">
          <div class="circle-mask"></div>
        </div>
        <div class="circle circle-top position-center">
          <div id="circle" class="circle-main position-center">
            <div class="item" style="--rotate: -15">
              <div class="item-inner active">
                <div class="label-top">10-15w</div>
                <div class="point"></div>
                <div class="label-bottom">旅行家 V1</div>
              </div>
            </div>
            <div class="item" style="--rotate: 0">
              <div class="item-inner">
                <div class="label-top">15-20w</div>
                <div class="point"></div>
                <div class="label-bottom">旅行家 V2</div>
              </div>
            </div>
            <div class="item" style="--rotate: 15">
              <div class="item-inner">
                <div class="label-top">20w+</div>
                <div class="point"></div>
                <div class="label-bottom">旅行家 V3</div>
              </div>
            </div>
            <div class="item" style="--rotate: 30">
              <div class="item-inner">
                <div class="label-top">30w+</div>
                <div class="point"></div>
                <div class="label-bottom">旅行家 V4</div>
              </div>
            </div>
            <div class="item" style="--rotate: 45">
              <div class="item-inner">
                <div class="label-top">50w+</div>
                <div class="point"></div>
                <div class="label-bottom">旅行家 V5</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="btns">
      <button onclick="prev()">上一个</button>
      <button onclick="next()">下一个</button>
    </div>

    <script src="./script.js" type="text/javascript"></script>
  </body>
</html>
